package cn.sfa.common.taglib;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
/**
 * 
* 类名称：FooterTag   
* 类描述： jsp页面的底部信息自定义标签类
* 创建人：lenovo   
* 创建时间：2012-2-9 上午10:25:49     
* 修改备注：   
* @version v1.0
 */
public class IndexFooterTag extends TagSupport {

	@Override
	public int doEndTag() throws JspException {

		return super.doEndTag();
	}

	@Override
	public int doStartTag() throws JspException {

		StringBuffer buffer = new StringBuffer();
		
		String path = (String) pageContext.getRequest().getAttribute("path");
	  

		buffer.append("	    </div> <!----------- 页面内容结束 ------------------>");
		buffer.append("    <div class=\"footer\">");
		buffer.append("        <p>");
		buffer.append("            Copyright © 2012 - 2013 90Team. All Rights Reserved<br>");
		buffer.append("            版权所有	翻版必究");
		
		buffer.append("        </p>");
		buffer.append("    </div>");
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		buffer.append("");
		JspWriter out = pageContext.getOut();
		
		try {
			out.println(buffer.toString());
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return super.doStartTag();
	}
	
	
}
